package com.java.thread.group.Runnable;

class MyRunnable implements Runnable {

    public void run() {
        System.out.println("这⾥是线程运⾏的代码");
    }
}
 class Test {
    public static void main(String[] args)  {
        Thread t = new Thread(new MyRunnable());
        t.start();
    }
}
